package com.itheima.course.design.entity;

public class Student {
    private String id;
    private String name;
    private String studentId;
    private String password;

    // 构造方法
    public Student() {}

    public Student(String id, String name, String studentId, String password) {
        this.id = id;
        this.name = name;
        this.studentId = studentId;
        this.password = password;
    }

    // Getter和Setter方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}